﻿using Siasun.AFC.RtPlatfromGui.IBll.GuiEnum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Siasun.AFC.RtPlatfromGui.IBll.IServer
{
    public class ServerFactory
    {
        /// <summary>
        /// 按键操作服务构造接口工厂
        /// </summary>
        /// <returns></returns>
        public static IMenuDataServer CreateMenuDataServer()
        {
            return Gui.Base.Context.ObjectContainer.GetServerObject<IMenuDataServer>(
                GuiEnumConst.ServerMenuDataConst.MenuDataServerName,
                GuiEnumConst.ServerMenuDataConst.MenuDataDll,
                GuiEnumConst.ServerMenuDataConst.MenuDataNamespace);
        }
    }
}
